//
//  CallInProgressViewController.h
//  Voxper
//
//  Created by Erphan on 2/4/11.
//  Copyright 2011 Smonte. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <AudioToolbox/AudioToolbox.h>

@class VoxperAppDelegate;

@interface CallInProgressViewController : UIViewController<AVAudioPlayerDelegate> {
	IBOutlet UILabel *m_lblStatus;
	IBOutlet UIButton *m_btnEndCall;
	IBOutlet UIButton *m_btnAcceptCall;
	IBOutlet UIButton *m_btnCancelCall;
	IBOutlet UILabel *m_lblCallerId;
    IBOutlet UIView *m_viewCallMenu;
    IBOutlet UIView *m_viewKeypad;
    IBOutlet UIView *m_viewContainer;
    IBOutlet UIButton *m_btnHideKeypad;
	
	VoxperAppDelegate *app;
	int m_CallId;
	BOOL m_bPushInvoked;
	BOOL m_bTheresNoIncomingCalls;
	NSString *m_strInitialContactName;
    //AVAudioPlayer *m_ringtonePlayer;
    SystemSoundID aSoundID;
    BOOL m_bIsOutgoing;
}

- (IBAction)btnEndCall_Clicked:(id)sender;
- (IBAction)btnAcceptCall_Clicked:(id)sender;
- (IBAction)btnCancelCall_Clicked:(id)sender;
- (IBAction)btnCallMenu_Clicked:(id)sender;
- (IBAction)btnKeypad_Clicked:(id)sender;
- (IBAction)btnHideKeyPad_Clicked:(id)sender;

@property (nonatomic) int CallId;
@property (nonatomic)BOOL PushInvoked;
@property (nonatomic, retain)NSString *InitalContactName;


@end
